<template>
  <div class="home">
      <h1>这是首页</h1>
      <h1>
        <span class="mr10">测试</span>
        <span>测试</span>
        <br>
      </h1>
      <button @click="apiTest">API测试</button>
  </div>
</template>

<script>
// @ is an alias to /src
import {
  apiBaidu
} from '@/api'
export default {
  name: 'Home',
  data() {
    return {
      testData: ''
    }
  },
  components: {
  },
  created() {
  },
  methods: {
    apiTest() {
      apiBaidu()
    }
  },
  
}
</script>
